/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.hk.sys.entity.job;

import org.hibernate.validator.constraints.Length;
import com.thinkgem.jeesite.modules.sys.entity.Area;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 企业招聘信息Entity
 * @author 罗天文
 * @version 2018-06-15
 */
public class HkUserEnterpriseRecruit extends DataEntity<HkUserEnterpriseRecruit> {
	
	private static final long serialVersionUID = 1L;
	private HkUserEnterprise enterprise;		// 企业id
	private String title;		// 职位名称
	private HkRecruitCategory category;		// 职位类别
	private Area area;		// 区域
	private String experience;		// 经验
	private String education;		// 学历
	private String nature;		// 工作性质
	private String introduce;		// 描述
	private String salary;		// 薪资
	
	public HkUserEnterpriseRecruit() {
		super();
	}

	public HkUserEnterpriseRecruit(String id){
		super(id);
	}

	public HkUserEnterprise getEnterprise() {
		return enterprise;
	}

	public void setEnterprise(HkUserEnterprise enterprise) {
		this.enterprise = enterprise;
	}

	@Length(min=0, max=100, message="职位名称长度必须介于 0 和 100 之间")
	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public HkRecruitCategory getCategory() {
		return category;
	}

	public void setCategory(HkRecruitCategory category) {
		this.category = category;
	}

	public Area getArea() {
		return area;
	}

	public void setArea(Area area) {
		this.area = area;
	}
	
	@Length(min=0, max=200, message="经验长度必须介于 0 和 200 之间")
	public String getExperience() {
		return experience;
	}

	public void setExperience(String experience) {
		this.experience = experience;
	}
	
	@Length(min=0, max=200, message="学历长度必须介于 0 和 200 之间")
	public String getEducation() {
		return education;
	}

	public void setEducation(String education) {
		this.education = education;
	}
	
	@Length(min=0, max=1, message="工作性质长度必须介于 0 和 1 之间")
	public String getNature() {
		return nature;
	}

	public void setNature(String nature) {
		this.nature = nature;
	}
	
	public String getIntroduce() {
		return introduce;
	}

	public void setIntroduce(String introduce) {
		this.introduce = introduce;
	}
	
	@Length(min=0, max=200, message="薪资长度必须介于 0 和 200 之间")
	public String getSalary() {
		return salary;
	}

	public void setSalary(String salary) {
		this.salary = salary;
	}
	
}